<template>
  <el-button 
    type="success" 
    @click="$router.push('/register')"
    class="auth-btn register-btn"
  >
    <el-icon><Plus /></el-icon>
    注册
  </el-button>
</template>

<script>
import { Plus } from '@element-plus/icons-vue'

export default {
  name: 'RegisterButton',
  components: {
    Plus
  }
}
</script>

<style scoped>
.auth-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.register-btn {
  background: linear-gradient(135deg, #67C23A 0%, #85CE61 100%);
  border: none;
  color: white;
}

.register-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 15px rgba(103, 194, 58, 0.3);
}
</style> 